import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js';
//结束对话
export const overConversationService = (conversationID) => {
    //console.log(classID, chapterID, conversationID)
    // return {
    //     'msg':'success'
    // }
    let tokenStore = useTokenStore()
    //console.log(tokenStore.token.token)
    const headers = {
        token: tokenStore.token.token
    }
    const data ={
        "conversationID":conversationID
    }
    return request.post('/student/endconversation',data, { headers });
}